home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue68 / Clinic / OneToManyClientU.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2001-01-31  |  626 b   |  35 lines

  1. unit OneToManyClientU;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   Db, DBClient, MConnect, Grids, DBGrids;
  8.  
  9. type
  10.   TClientForm = class(TForm)
  11.     cdsCustomer: TClientDataSet;
  12.     dcOneToManyServer: TDCOMConnection;
  13.     DataSource1: TDataSource;
  14.     DBGrid1: TDBGrid;
  15.     procedure FormCreate(Sender: TObject);
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   ClientForm: TClientForm;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TClientForm.FormCreate(Sender: TObject);
  30. begin
  31.   cdsCustomer.Open
  32. end;
  33.  
  34. end.
  35.